package com.hxzy.common.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * 验证值是否存在
 * @author Administrator
 */
@ApiModel(value = "单表验证值是否存在")
@Getter
@Setter
public class ExistsDTO<Key> {

    @ApiModelProperty(value = "验证值的值")
    private String columnValue;

    @ApiModelProperty(value = "验证值的数据库列名")
    private String columnName;

    @ApiModelProperty(value = "验证主键的值")
    private Key  primaryValue;
    @ApiModelProperty(value = "验证主键的数据库列名")
    private String primaryColumnName;

    @ApiModelProperty(value = "验证数据库")
    private String tableName;
}
